package org.csu.wuliu.domain;

import org.springframework.stereotype.Component;

import java.io.Serializable;

@Component
public class Task implements Serializable {
    private String taskId;
    private String orderId;
    private String distributorId;
    private int status;
    private String substationId;

    public Task() {
    }

    public Task(String taskId, String orderId, String distributorId, int status) {
        this.taskId = taskId;
        this.orderId = orderId;
        this.distributorId = distributorId;
        this.status = status;
    }

    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getDistributorId() {
        return distributorId;
    }

    public void setDistributorId(String distributorId) {
        this.distributorId = distributorId;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getSubstationId() {
        return substationId;
    }

    public void setSubstationId(String substationId) {
        this.substationId = substationId;
    }
}